package conf

type AppConf struct {
    KafkaConf `ini:"kafka"`
    TailConf  `ini:"tail"`
    EtcdConf  `ini:"etcd"`
}

type KafkaConf struct {
    Address string `ini:"address"`
    Topic string `ini:"topic"`
    Chan_max_size int `chan_max_size`
}

type TailConf struct {
    Filename string `ini:"filename"`
}

type EtcdConf struct {
    Address string `ini:"address"`
    Timeout int    `ini:"timeout"`
    Key     string `ini:"collect_log_key"`
}
